package com.mc.main;

/*
*/

/**
 * Interface for accessing and controlling an Arduino unit
 *
 * @Version 0.1 (2009-10-13), includes:
 * -Temp sensor
 * -Fan control
 *
 * @Author Mikael Bertlin
 */
public interface UnitAccess {

	// Returns the temp of the temp sensor
	public int getTemp();
	
	// Returns the fan speed
	public int getFan();
	
	// Returns a short pair of both temp and fan speed
	// for example: [25,150] 25 Degrees and 150 Fan speed
	public int[] getTempAndFan();
	
	// Sets the fan speed
	public void setFan(int speed);
	
	// Sets the temperature
	public void setTemp(int temperature);
	
	public void setLed(int value);
	
	
	
}
